﻿//Orginal date made: 4th March 2012
//Creator: by Luke Bermingham

//Last modified: 5th March 2012
//Modifier name: Luke Bermingham

using System.Windows.Input;
using SharedResources.ViewModel;


namespace DataLoadingModule.ViewModel
{
    public class DatasetViewModel:BaseViewModel
    {
        //This class is the view model for the Dataset>>Command
        //menuitem and its associated viewmodel logic

        //User clicks the Dataset>>Load Dataset menu command


        private RelayCommand _loadDatasetCommand;
        public ICommand LoadDataSetCommand
        {
            get
            {
                return _loadDatasetCommand = MakeCommandSafely(_loadDatasetCommand, () => new DatasetWizardViewModel().ShowWizard());
            }
        }
    }
}
